CS | BPC | alphaInfo | Resulting Bits and Description |
---|
NULL | 8 | kCGImageAlphaOnly | AAAAAAAA8 bits per pixel alpha-only destination. Color data is thrown away. Useful for generating alpha channels and masks. Only supported in Mac OS X 10.3 and later. |
Gray | 8 | kCGImageAlphaNone | WWWWWWWW8 bits per pixel grayscale channel. |
RGB | 5 | kCGImageAlphaNoneSkipFirst | -RRRRRGGGGGBBBBB16 bits per pixel, 5 bits per RGB component. |
RGB | 8 | kCGImageAlphaNoneSkipFirst | --------RRRRRRRRRGGGGGGGGBBBBBBBB32 bits per pixel, 8 bits per RGB component where first 8 bits are ignored. |
RGB | 8 | kCGImageAlphaNoneSkipLast | RRRRRRRRRGGGGGGGGBBBBBBBB--------32 bits per pixel, 8 bits per RGB component where last 8 bits are ignored. |
RGB | 8 | kCGImageAlphaPremultipliedFirst | AAAAAAAARRRRRRRRRGGGGGGGGBBBBBBBB32 bits per pixel, 8 bits per ARGB component with premultiplied alpha. |
RGB | 8 | kCGImageAlphaPremultipliedLast | RRRRRRRRRGGGGGGGGBBBBBBBBAAAAAAAA32 bits per pixel, 8 bits per RGBA component with premultiplied alpha. |
CMYK | 8 | kCGImageAlphaNone | CCCCCCCCMMMMMMMMYYYYYYYYKKKKKKKK32 bits per pixel, 8 bits per CMYK component without alpha.Only supported in Mac OS X 10.3 and later. |